package com.springvue.springvue.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class News {
    private Integer id;
    private String title;
    private Date createtime;
    private String content;
    private String author;
    private Integer readnum;
    private Date lastupdatetime;
    private String category;

}
